﻿namespace Unity.Environment
{
    public enum UnityParameter
    {
        KafkaTopic,
        KafkaHost,
        
        SolaceTopic,
        SolaceHost,
        SolaceVpn,
        
        MainBufferSize,
        OfflineBufferSize
    }
    
    public static class UnityParameterHelper
    {
        public static string Value(this UnityParameter parameter)
        {
            switch (parameter)
            {
                case UnityParameter.SolaceHost:
                    return "unity.solace.host";
                case UnityParameter.SolaceTopic:
                    return "unity.solace.topic";
                case UnityParameter.MainBufferSize:
                    return "unity.buffers.main.size";
                case UnityParameter.OfflineBufferSize:
                    return "unity.buffers.offline.size";
                default:
                    return null;
            }
        }
    }
}